package com.dao;

import com.model.SearchlibRes;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface SearchlibResDao extends Base {

    int bathInsertSearchlibRes(@Param("searchlibRes") List<SearchlibRes> searchlibRes);

    SearchlibRes selectOneSearchlibResBySourceStrId(@Param("sourceStrId") int sourceStrId);

    int deleteSearchlibResBySourceStrId(@Param("sourceStrId") int sourceStrId);

    int truncateSearchlibRes();
}
